package com.zh.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.zh.domain.Model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @TableName requirements
 */
@TableName(value = "requirements")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class Requirements extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("项目id")
    private Integer proId;
    @ApiModelProperty("迭代id")
    private Integer iterId;
    @ApiModelProperty("里程碑id")
    private Integer mileId;
    @ApiModelProperty("需求负责人")
    private Integer ownerId;
    @ApiModelProperty("需求开始时间")
    private LocalDateTime startTime;
    @ApiModelProperty("需求结束时间")
    private LocalDateTime endTime;
    @ApiModelProperty("需求完成时间")
    private LocalDateTime completeTime;
    @ApiModelProperty("需求标题")
    private String title;
    @ApiModelProperty("需求编号")
    private String code;
    @ApiModelProperty("需求描述")
    private String description;
    @ApiModelProperty("需求优先级0 P0, 1 P1, 2 P2")
    private Integer priority;
    @ApiModelProperty("需求进度")
    private BigDecimal progress;
    @ApiModelProperty("需求类型")
    private String tag;
    @ApiModelProperty("需求备注")
    private String remark;
    @ApiModelProperty("需求状态0未开始1进行中2测试中3暂搁置4已验收5已关闭")
    private Integer status;
}